Leadtools.Barcode Namespace > BarcodeData Class > Save Method : Save(Stream,BarcodeData[]) Method |
public static void Save( Stream stream, BarcodeData[] data )
'Declaration Public Overloads Shared Sub Save( _ ByVal stream As Stream, _ ByVal data() As BarcodeData _ )
'Usage Dim stream As Stream Dim data() As BarcodeData BarcodeData.Save(stream, data)
public static void Save( Stream stream, BarcodeData[] data )
ObjectiveC Syntax
public: static void Save( Stream^ stream, array<BarcodeData^>^ data )
The load/save methods are provided as helper methods for the user. The BarcodeEngine, BarcodeReader and BarcodeWriter do not use these methods internally.
data can be null (Nothing is Visual Basic). This is the equivalent of saving an empty array.
To load the data previously saved into an XML stream, use BarcodeData.Load(Stream stream).
To save and load data to an XML disk file, use BarcodeData.Save(string fileName, BarcodeData[] data) and BarcodeData.Load(string fileName).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2